package com.itmk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.crypto.password.PasswordEncoder;


@SpringBootApplication
@MapperScan("com.itmk.web.sys_role.mapper")
@MapperScan("com.itmk.web.sys_user.mapper")
@MapperScan("com.itmk.web.sys_user_role.mapper")// 确保包路径正确
@MapperScan("com.itmk.web.sys_menu.mapper")
@MapperScan("com.itmk.web.sys_role_menu.mapper")
@MapperScan("com.itmk.web.department.mapper")
@MapperScan("com.itmk.web.sys_notice.mapper")
@MapperScan("com.itmk.web.news.mapper")
@MapperScan("com.itmk.web.schedule_detail.mapper")
@MapperScan("com.itmk.web.wx_user.mapper")
@MapperScan("com.itmk.web.visit_user.mapper")
@MapperScan("com.itmk.web.make_order.mapper")
@MapperScan("com.itmk.web.suggest.mapper")
@MapperScan("com.itmk.web.make_order_visit.mapper")
public class AdminApplication {

    private static final Logger log = LoggerFactory.getLogger(AdminApplication.class);


   public static void main(String[] args) {

       SpringApplication.run(AdminApplication.class,args);
       log.info("Spring Boot 已启动！"); // 输出到日志文件和控制台

 }
}
